<template>
  <div id="app">
    <Person v-if="isShow"/>
    <Person v-show="isShow"/>
    <button @click="close">isShow</button>
  </div>
</template>

<script>
/* eslint-disable */
import Person from './components/Person'

export default {
  name: 'App',
  components: {
    Person
  },
  data(){
    return {
      isShow:true
    }
  },
  methods:{
    close(){
      this.isShow=!this.isShow
    }
  }
}
</script>

<style>
</style>
